package com.guli.eduService.service;

import com.guli.eduService.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.eduService.entity.vo.OneSubjectInfo;
import com.guli.eduService.service.impl.EduSubjectServiceImpl;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author zxc
 * @since 2023-04-02
 */
public interface EduSubjectService extends IService<EduSubject> {
    // 接口中，定义添加课程分类信息;
    public void addSubject(MultipartFile file , EduSubjectServiceImpl eduSubjectService);
    // 定义获取所有课程分类信息的方法;
    public List<OneSubjectInfo> getAllSubjects();

    /**
     * 根据id，来获取指定的课程分类数据
     * @param oneSubjectId
     * @return
     */

    OneSubjectInfo getSubjectById(String oneSubjectId);

}
